<?php
/*
Copyright 2008, Nathalia


Author:
Nathalia Sautchuk Patrício          (nathalia.sautchuk@gmail.com)

*/
class AnaisRecord extends TActiveRecord
{
    const TABLE='Anais';
    public $AnaisID;
	public $Nome;
	public $Editora;
	public $Status;
	public $DataPublicacao;
    public $CongressoID;
 
    public static $RELATIONS=array
    (
        'congresso' => array(self::BELONGS_TO, 'CongressoRecord', 'CongressoID'),
    );

    public static function finder($className=__CLASS__)
    {
        return parent::finder($className);
    }
}
?> 
